package cn.jbit.service.impl;

import cn.jbit.entity.Department;
import cn.jbit.mapper.DepartmentMapper;
import cn.jbit.service.DepartmentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author 财龙
 * @Description:
 * @date 2020/9/30 11:05
 */
@Service
public class DepartmentServiceImpl implements DepartmentService {
    @Autowired
    private DepartmentMapper departmentMapper;
    @Override
    public List<Department> getDepartmentService() {
        return departmentMapper.selectByExample(null);
    }
}
